# name : Rmd pdf head
# key : rmdpdfhead.
# key : rmd.pdf.head.
# contributor: Shuguang
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))
# --
---
title: "${1:title}"
author: "Shuguang Sun"
date: "`(format-time-string \"%Y-%m-%d\" (current-time))`"
output:
  pdf_document:
    latex_engine: xelatex
    keep_tex: true
    toc: true
    number_sections: true
CJKmainfont: Microsoft YaHei Light
CJKoptions:
    - BoldFont=Microsoft YaHei
    - ItalicFont=FangSong
---

\`\`\`{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
## other setup, for example, libraries
\`\`\`

$0